package com.magnificent.panda.correlation;

import com.magnificent.panda.model.entity.FlowEvent;

/**
 * User: Babanin
 * Date: 31.10.2009
 * Time: 18:02:34
 */
public interface IntervalCorrelationFunction {
    public abstract double[] calculateCorrelation(FlowEvent firstStream[], FlowEvent secondStream[], int correlationSize, double deltaTau);
    public abstract double[] calculateCorrelation(FlowEvent mainStream[], FlowEvent secondaryStream[][], int correlationSize, double deltaTau, boolean useConnectivity);

    public abstract boolean isMultiFlowsSupported();

    public abstract int calcStateIndicator(int j, int i, int s);
    public abstract int calcStateIndicator(int j, int i, int k, int m, boolean useConnectivity);
}

  /* converted to utf8 */